<?php
/**
 * Created by PhpStorm.
 * User: deng
 * Date: 2015/2/27
 * Time: 0:32
 */

namespace Serve\Utils;

import('ORG.Mailer.Mail');

class UserMail
{
    public static function sendVerifyEmail($email, $token)
    {
        $title = 'MetaLab注册验证';
        $content = 'test';
        return SendMail($email, $title, $content, 'Server');
    }

    public static function sendResetPasswordEmail($email, $token)
    {
        $title = 'Metalab密码找回';
        $content = '验证码是：<span style="color:red;font-size:18px";>' . $token . '</span>';
        return SendMail($email, $title, $content, 'Server');
    }
}